//
//  SLCircularReferenceController.m
//  Objective-C
//
//  Created by S_Line on 2018/8/15.
//  Copyright © 2018年 S_Line. All rights reserved.
//

#import "SLCircularReferenceController.h"

#import "Person.h"

@interface SLCircularReferenceController ()

@end

@implementation SLCircularReferenceController

- (void)initNavBar {
    self.navTitle = @"循环引用";
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self initNavBar];
    
    [self initData];
}

- (void)initData {
    Father *father = [Father new];
    
    Son *son = [Son new];
    
    father.son = son;
    son.father = father;
}

@end
